<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
<meta name="apple-touch-fullscreen" content="YES">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="stylesheet" href="/Public/projects/meeting/css/meetbase.css">
<link rel="stylesheet" href="/Public/projects/meeting/css/iconfont.css">
<title>会议活动</title>
</head>
<body>
<div id="activity">
<div class="activityBar colourway colourwayBoder"><span class="spanactivity">我的活动</span><i class="icon iconfont icon-qiqiu colourway"></i></div>
<ul class="ulactivity">
    <?php
        $date = date("Y-m-d H:i:s");
        foreach($meeting as $val){
            echo "<li onclick='get_meeting(" . $val['meet_id'] . ");'>";
              if(empty($val['share_pic'])){
                  $val['share_pic'] = "/Public/projects/meeting/images/activityImg.jpg";
              }
              echo "<img src='" . $val['share_pic'] . "' alt='' style='height:90px;'>";
              echo '<div class="huiyRight">';
              echo '<span class="huiyiName">' . $val['name'] . '</span>';
              if($val['start_date'] > $date){
                echo '<span class="notStart">未开始</span>';
              }elseif($val['end_date'] < $date){
                echo '<span class="spanfinish">已结束</span>';
              }else{
                echo '<span class="spango">进行中</span>';
              }
            echo '</div>';
            echo "</li>";
        }
    ?>
</ul>
</div>
</body>
<script src="/Public/projects/meeting/js/jquery-1.7.1.min.js"></script>
<script src="/Public/projects/meeting/js/common.js"></script>
<script type="text/javascript">

    function get_meeting(meetId){
        window.location.href = "/Wap/Meeting/signin?meetId=" + meetId;
    }
</script>
</html>
